<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <!-- API Key for code.google.com -->
  <script type="text/javascript" src="http://www.google.com/jsapi?hl=en&key=ABQIAAAAmQYslFvVlJmDdURVmhrEOhRZxWYvpmaoS0zdJF4UWSgtIlYtmBRga8LV3rpdlbX7n6juisORTqSsLw"></script>
  <script type="text/javascript" src="game.js"></script>
  <style type="text/css">@import "index.css";</style>
</head>
<body onunload="GUnload();" onKeyDown="return keyDown(event);" onKeyUp="return keyUp(event);">
<table style="width: 100%">
  <td style="width: 67%" valign="top">
    <div id="earth-container" style="border: 1px solid #000; height: 500px;">
      <div id="earth" style="height: 100%;"></div>
    </div>
  </td>
  <td style="width: 33%" valign="top">
    <div id="map-container" style="border: 1px solid #000; height: 500px;"></div>
  </td>
</tr>
<tr>
  <td colspan="3">
    <p style="position: absolute; bottom: 0; border: solid 1px red">Status: <span id="debugStatus"> </span></p>
  </td>
</tr>
</table>
<table style="width: 100%; height: 400px;">
<tr>
  <td style="width: 300px" valign="top">
    <table style="width: 300px">
      <tr>
        <td style="width: 50%" valign="top">
          <form id="directions-form" onsubmit="return false;" action="get">
            <fieldset>
              <legend>Race Path</legend>
              From:<br/>
              <input type="text" id="from" value="San Francisco, CA"/><br/>
              To:<br/>
              <input type="text" id="to" value="Mountain View, CA"/><br/>
              <input type="submit" onclick="DS_goDirections();" id="go" value="Go!"/>
            </fieldset>
          </form>
        </td>
        <td style="width: 50%" valign="top">
          <form id="simulator-form" onsubmit="return false;" action="get">
            <fieldset>
              <legend>Race Time Control</legend>
              <input type="button" onclick="DS_controlSimulator('reset');" value="Reset"/><br/>
              <input type="button" onclick="DS_controlSimulator('start');" value="Start"/><br/>
              <input type="button" onclick="DS_controlSimulator('pause');" value="Pause"/><br/>
              Speed: <strong><span id="speed-indicator">1x</span></strong><br/>
              <input type="button" onclick="DS_controlSimulator('slower');" value="-"/>
              <input type="button" onclick="DS_controlSimulator('faster');" value="+"/>
            </fieldset>
          </form>
        </td>
      </tr>
    </table>
  </td>
</table>
</body>
</html>
